package cn.tedu.boot10.pojo.vo;

import cn.tedu.boot10.pojo.entity.Player;

import java.util.List;

public class TeamVo {
    private Integer id;
    private String name;
    private String loc;
    private List<Player> playerList;

    public TeamVo() {
    }

    public TeamVo(Integer id, String name, String loc, List<Player> playerList) {
        this.id = id;
        this.name = name;
        this.loc = loc;
        this.playerList = playerList;
    }

    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return loc
     */
    public String getLoc() {
        return loc;
    }

    /**
     * 设置
     * @param loc
     */
    public void setLoc(String loc) {
        this.loc = loc;
    }

    /**
     * 获取
     * @return playerList
     */
    public List<Player> getPlayerList() {
        return playerList;
    }

    /**
     * 设置
     * @param playerList
     */
    public void setPlayerList(List<Player> playerList) {
        this.playerList = playerList;
    }

    public String toString() {
        return "TeamVo{id = " + id + ", name = " + name + ", loc = " + loc + ", playerList = " + playerList + "}";
    }
}
